﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmalShop.Model;

namespace SmallShop.Dal.ModelMap
{
    class ProductMap
    {
        public static void Map(DbModelBuilder modelBuilder)
        {
            modelBuilder.Entity<ProductModel>().ToTable("Product").HasKey(it=>it.Id);
        }
    }
}
